import request from "@/api/request.js";
const baseUrl = '/state-assets-monitor';
// const baseUrl = 'http://127.0.0.1:4523/m1/3704704-0-default';

/** 上报第三方服务机构分布 */
export const getInstitutionTotal = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/thirdPartyInstitutionTotal', { params })
}

/** 上报合同个数 */
export const getcontractTotal = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/contractTotal', { params })
}

/** 上报合同金额 */
export const getcontractAmount = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/contractAmount', { params })
}

/** 上报专家个数 */
export const getexpertTotal = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/expertTotal', { params })
}

/** 第三方echarts */
export const getEcharts = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/echarts', { params })
}

/** 第三方列表 */
export const getTables = (params) => {
  return request.get(baseUrl + '/thirdPartyInstitution/tables', { params })
}